<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
<!--    <script src="../src/ppslick.js"></script>-->
    <script src="../release/ppslick-1.1.0.min.js"></script>
</head>
<script>
    window.onload = function () {
        let fileUploader = PPSlick.createFileUploader({closeOnSubmit:'true'});
        fileUploader.setDescription("文件描述...");
        fileUploader.setFilePlaceholder("请选择一个文件");
        fileUploader.onSubmit(function (file) {
            console.log(file.name);
            console.log(file.size);
            console.log(file.type);
        })
    }
</script>
<body>

</body>
</html>